package com.example.aptdemowithoutautoservice;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.king.libannotation.BindActivity;
import com.king.libannotation.BindView;

@BindActivity
public class MainActivity extends AppCompatActivity {

    @BindView(viewId = R.id.text)
    TextView textView;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        BindMainActivity.bindActivity(this);
        textView.setText("change the text success!");
    }
}